package com.zpself.module.basic.编码;

import org.junit.Test;

/**
 * @author By ZengPeng
 * @Description
 * @date in  2021/3/11 17:12
 * @Modified By
 */
public class 打印ASCII编码 {
    @Test
    public void printASCII(){
        System.out.println((char)126);// ~
        System.out.println((char)127);
        System.out.println((char)128);
        for (int i = 0; i <= 127; i++) {
            System.out.print((char)i);
            System.out.print(",");
            if(i==32 || i==64 || i==96){
                System.out.println();
            }
        }

    }
}
